package com.itheima.es.springboot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.es.springboot.pojo.TbSku;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;


/**
 * @author 雪落
 * @date 2020/12/29 - 23:07
 */
public interface UserMapper extends BaseMapper<TbSku> {
    @Select("select id, name, price, num, image,create_time,category_id,category_name,brand_name from tb_sku")
    List<TbSku> listes();
}
